<gm:page title="Sample - Paged List" authenticate="false">

  <!--
    The Paged List application demonstrates how to use the gm:pager tag to
    display "Prev" and "Next" links at the bottom of a list that, when clicked,
    show the entries in the source feed that come before and after the current
    list, respectively.
    @author: GME Team
  -->

  <div class="gm-app-header">
    <h1>Paged List</h1>
  </div>

  <gm:list id="myList" data="${test}" template="myListTemplate" pagesize="8"/>
  
  <gm:template id="myListTemplate">
    <table class="blue-theme">
      <tr repeat="true">
        <td><gm:text ref="atom:title"/></td>
      </tr>
      <tfoot>
        <tr>
          <td align="center"><gm:pager compact="true"/></td>
        </tr>
      </tfoot>
    </table>
  </gm:template>

</gm:page>
